function Physio = calPhysio(Physio, NAME)

Physio.abp  =  -98.425 * Physio.time_series(1, :)-34.849;                   %mmHg
Physio.scon =  5 * Physio.time_series(2, :);                                %muS
Physio.resp =  (Physio.time_series(3, :) - mean(Physio.time_series(3, :)))...
                / std(Physio.time_series(3, :));                            %turns it into  z score
Physio.spo2 =  0.1275 * Physio.time_series(4, :) - 0.001;                   % this is percentage,  think


PhysioData = [Physio.abp; Physio.scon; Physio.resp; Physio.spo2; Physio.time_stamps(1,:)];

svNAME = strcat('./ToUpload/Physio_',NAME,'.mat');
save(svNAME,'PhysioData');

%{
subplot(4,1,1)
    plot(Physio.abp)
    title('BP')
subplot(4,1,2)
    plot(Physio.scon)
    title('GSR')
subplot(4,1,3)
    plot(Physio.resp)
    title('Resperation')
subplot(4,1,4)
    plot(Physio.spo2)
    title('O2')
%}